package com.m2bshop.shop.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;
@TableName("BMCgoods")
@Data
public class BMCgoods {
    //商品id
    private int id;
    //商品名称
    private String name;
    //商品模型
    private String model;
    //商品价格
    private long price;
    //品牌id
    private int brandid;
    //商品保修期
    private int dlperiod;
    //商品重量
    private int weight;
    //商品库存
    private int stock;
    //商品描述
    private String description;

    @TableField(exist = false)
    private good_category gc;
    //商品主图

    @TableField(exist = false)
    private List<good_imgs> imglist;
}
